import Layout from '@/layout'

const memberRouter = {
  path: '/member',
  component: Layout,
  redirect: '/member/index',
  name: 'member',
  meta: { title: '会员管理', icon: 'platform' },
  children: [{
    path: 'index',
    name: 'memberIndex',
    component: () => import('@/views/member/index'),
    meta: { title: '会员列表', icon: 'userManager' }
  }, {
    path: 'order',
    name: 'memberOrder',
    component: () => import('@/views/member/order'),
    meta: { title: '订单列表', icon: 'roleManager' }
  }, {
    path: 'delivery',
    name: 'memberDelivery',
    component: () => import('@/views/member/delivery'),
    meta: { title: '商品配送', icon: 'menuManager' }
  }]
}
export default memberRouter
